#ifndef MUTEX_H_
#define MUTEX_H_

#include <pthread.h>

class Mutex {
private:
	pthread_mutex_t mutex;
	Mutex(const Mutex &m);
	Mutex& operator=(const Mutex &m);
public:
	Mutex();
	~Mutex();
	void lock();
	void unLock();

	pthread_mutex_t *getPrimitiveMutex();
};

#endif /* MUTEX_H_ */
